﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace Web.Entity.Indexer
{
   public class Group
    {
        public static void SetFieldsValue()
        {

        }

        public static SqlParameter[] GetSqlParamsValue(Web.Entity.Group dataObj)
        {
            List<SqlParameter> lstParams = new List<SqlParameter>();

            lstParams.Add(new SqlParameter("@Code", dataObj.Code));
            lstParams.Add(new SqlParameter("@GroupName", dataObj.GroupName));

            return lstParams.ToArray();
        }
    }
}
